package com.wql.feign;

import com.aaa.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "front-system")
public interface UserInfoFeign {
    @RequestMapping("/system/userInfo/sms/{mobile}")
    public Result sms(@PathVariable String mobile);

     @RequestMapping("/system/userInfo/verify/{code}")
     public Result verify(@PathVariable String code);
}
